package com.iona.dao;

import java.util.List;

import com.iona.domain.Discipline;

public class DisciplineDAO extends BaseDAO {

	public List<Discipline> findAll() {
		return getSession().createCriteria(Discipline.class).list();
	}

	public Discipline findById(Integer id) {
		return (Discipline) getSession().load(Discipline.class, id);
	}

}
